package vcp.models;

import client.Message;
import control.SimpleClient;
import vcp.common.AbstractModel;

/**
 * Rates model
 *
 */
public class RatesModel extends AbstractModel {

	/**
	 * Rates By LotNum request
	 * @param Lotnum
	 */
	public void getRatesByLotNum(int Lotnum) {
		client = SimpleClient.getInstance();
		client.addPropertyChangeListener(this);
		Message msg = new Message(Lotnum,"GetRatesByLotNum");
		 try {
				client.sendToServer(msg);				
		 }
		 catch (Exception ex)
		 {
			 System.out.println(ex.toString()+"get->GetRatesByLotNum");
		 }	
	}

}
